<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <title>首页</title>
    <head th:include="include :: header"></head>
    <style type="text/css">
    </style>
</head>
<body>
<div id="app">
    <el-container>
        <el-header>
            <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect">
                <el-menu-item index="1">任务列表</el-menu-item>
            </el-menu>
        </el-header>
        <el-main>

        </el-main>
    </el-container>
</div>

<script type="text/javascript">
    var app = new Vue({

        el: '#app',

        data: {
            activeIndex: '1',
            activeIndex2: '1'
        },

        computed: {
        },

        watch: {
        },

        mounted: function(){
        },

        methods: {
            handleSelect: function(key, keyPath) {
                console.log(key, keyPath);
            }
        },
    });
</script>
</body>
</html>